package com.itheima.dateDemo;

import java.time.LocalDateTime;

public class LocalDateTimeDemo01 {
    public static void main(String[] args) {
        LocalDateTime now = LocalDateTime.now();
        System.out.println(now);//2021-03-27T10:58:21.856365200

        LocalDateTime of = LocalDateTime.of(2030, 12, 25, 13, 14, 52);
        System.out.println(of);//2030-12-25T13:14:52
    }
}
